-
-
Notifications
You must be signed in to change notification settings - Fork 823
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dev/core#980 [dbunit] remove dependency on discontinued dbunit #14321
Conversation
(Standard links)
|
test this please |
@eileenmcnaughton seems to be a problem
|
@seamuslee001 odd because it only failed on the cachekey last run |
@eileenmcnaughton no it also failed on that previously if you clicked on test result you will have seen about 2000 tests missed because there was no xml file for it |
hmm I don't see any skipped yet this run - will wait |
@eileenmcnaughton you can see here https://test.civicrm.org/job/CiviCRM-Core-PR/26404/testReport/ the test result is missing about 2000 tests and in the console log it has
i think this will fix the CRM tests
|
b986389
to
d055efe
Compare
d055efe
to
8fee8f1
Compare
@seamuslee001 OK I see now .- I've pulled this back to just deal with the YAML to get that out of the way - your suggestion didn't work for me - but I only had a quick go at it. I see the issue is that the dataprovider is being called before the test set up & in that flow the initiation is missing |
Test fail is unrelated changes work merging |
Overview
Remove obsolete phphunit/dbunit package from our test suite
sebastianbergmann/dbunit#217
Removing our dependency on this removes a hurdle in supporting more recent phpunit versions since we need to migrate over our own classes to extend the namespaced classes, but currently they extend a dbunit class so getting rid of that is a first useful step.
Before
phpunit/dbunit used in tests
After
phpunit/dbunit not used in tests
Technical Details
I came into this as the path to updating our phpunit version expectations requires us to start changing how we call phpunit & the path for this is much less clear ... and then it stops
The phpunit/dbunit package has been discontinued. I've removed the reference to it from the top level
extends and one call to it & the test I tried locally passes so it's not needed for ALL tests.
Let's see where it IS needed & what our options are - have at it jenkins
Comments